package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.entity.sys.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * title:
 * author: zgl
 * date: 2023/12/30
 * description：
 */
@Mapper
public interface SysUserRoleMapper {
    List<SysRole> getAssignRoles(Long id);

    void deleteById(Long userId);

    void insertAssign(Long userId, List<Long> roleIds);
}
